package com.financial.business.balance.dao;

import com.financial.business.balance.domain.FinancialGYRefundBalanceDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author Davidbieber
 * @description 余额支付退款DAO
 * @email davidbieber@163.com
 * @date 2019/12/6 4:25 PM
 */
@Mapper
@Repository
public interface FinancialGYRefundBalanceDao {
    FinancialGYRefundBalanceDO get(int id);

    List<FinancialGYRefundBalanceDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(FinancialGYRefundBalanceDO financialGYRefundBalanceDO);

    int update(FinancialGYRefundBalanceDO financialGYRefundBalanceDO);

    int remove(Integer id);

    int batchRemove(Integer[] ids);

    int updateInfo(Map<String,Object> params);

    FinancialGYRefundBalanceDO getOne(String outTradeNo);
}
